const actions = {
  invokePushItems(context,item) { //触发mutations里面的pushCollects ,传入数据形参item 对应到items
    setTimeout( () => {
      context.commit( 'pushCollects', item ); //context提交
    }, 2000)
  }
}
export default actions